import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBCustomHeaderAppbar extends StatelessWidget {

  final String title;

  const YBCustomHeaderAppbar({Key key, this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      color: YBColor.color1778FE,
      height: double.infinity,
      child:Align(
        alignment: Alignment.centerLeft,
        child:Padding(
          padding: EdgeInsets.only(left: YBTextStyle.adapterSize20),
          child: Text(title,style:YBTextStyle.textStyleFFFFFF22Medium,),
        ),
      ),
    );
  }
}
